import request from '../utils/request'

// 编辑用户头像
export const updatePhoto = data => {
  return request({
    method: 'PATCH',
    url: '/v1_0/user/photo',
    data
  })
}
